Skip to content

Conversation

@benthorner
Copy link
Contributor

@benthorner benthorner commented Nov 21, 2025

Summary

Changes

  • Adds a DynamoDBStreamRecord type in types/schema.ts.

Issue number: closes #4784


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@boring-cyborg
Copy link

boring-cyborg bot commented Nov 21, 2025

Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need.
In the meantime, check out the #typescript channel on our Powertools for AWS Lambda Discord: Invite link

@boring-cyborg boring-cyborg bot added the parser This item relates to the Parser Utility label Nov 21, 2025
@pull-request-size pull-request-size bot added the size/XS PR between 0-9 LOC label Nov 21, 2025
Copy link
Contributor

@dreamorosi dreamorosi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

You'll need to export the type also from here, of you won't be able to import it.

@sdangol sdangol changed the title Add type for values parsed by DynamoDBStreamRecord feat(parser): add type for values parsed by DynamoDBStreamRecord Nov 21, 2025
@benthorner
Copy link
Contributor Author

@dreamorosi oops, thanks for spotting - have amended.

dreamorosi
dreamorosi previously approved these changes Nov 21, 2025
svozza
svozza previously approved these changes Nov 21, 2025
@svozza
Copy link
Contributor

svozza commented Nov 21, 2025

@benthorner the unit tests are failing, can you have a look?

@dreamorosi dreamorosi dismissed stale reviews from svozza and themself November 21, 2025 17:49

CI tests are failing

@dreamorosi
Copy link
Contributor

Hi @benthorner, please review the contributing guidelines and setup your local environment to test the changes.

If the CI keeps turning red we might close the PR.

@benthorner
Copy link
Contributor Author

@dreamorosi @svozza sorry about that: I was being lazy thinking it was a "oneliner" and didn't consider you having to approve CI each time to check. I've now run npm run setup-local and amended to fix the issues.

Thanks for your patience - should be ready to go now.

@sonarqubecloud
Copy link

@dreamorosi
Copy link
Contributor

Hi @benthorner - thank you for the PR and for addressing the issues!

@dreamorosi dreamorosi merged commit c2bd849 into aws-powertools:main Nov 21, 2025
46 checks passed
@boring-cyborg
Copy link

boring-cyborg bot commented Nov 21, 2025

Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

parser This item relates to the Parser Utility size/XS PR between 0-9 LOC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Add named type for values parsed by DynamoDBStreamRecord[Schema]

3 participants